#define _CRT_SECURE_NO_WARNINGS
#include<stdio.h>

void mao_pao(int arr[], int sz)
{
	int i = 0;
	for (i = 0; i < sz - 1; i++)
	{
		int j = 0;
		for (j = 0; j < sz - 1 - i; j++)
		{
			if (arr[j] > arr[j + 1])
			{
				int tmp = arr[j];
				arr[j] = arr[j+1];
				arr[j + 1] = tmp;
			}
		}
	}
}

void Print(int arr[], int sz)
{
	int i = 0;
	for (i = 0; i < sz; i++)
	{
		printf("%d ",arr[i]);
	}
}

int main()
{
	int arr[] = { 13,455,54,6,8,1,0,3,63,15,91 };
	int sz = sizeof(arr) / sizeof(arr[0]);
	mao_pao(arr, sz);
	Print(arr, sz);
	return 0;
}